﻿<#
# 查找该目录下,名称中包含pip的文件
# ls 返回的集合中, item类型为FileInfo
# 管道
#
#>
ls D:\apps\Python\Scripts | Where-Object {$_.Name.Contains("pip")};

ls D:\apps\Python\Scripts | ForEach-Object {$_.FullName};